if __name__ == '__main__':
    lst = [88, 89, 90, 98, 00, 99]
    print("原列表:", lst)
    # for index in range(len(lst)):
    #     if str(lst[index]) != '0':
    #         lst[index] = '19' + str(lst[index])  # 拼接年份之后，再赋值
    #     else:
    #         lst[index] = '200' + str(lst[index])
    for i,item in enumerate(lst):
        if(str(item)) != "0":
            lst[i] = "19" + str(item)
        else:
            lst[i] = "200" + str(item)
    lst.sort()
    print(lst)
